$(function(){
    appkyNumberSearch.initCityMap();
    appkyNumberSearch.createCityPlugLists();

});





appkyNumberSearch = new function() {
    /**
     * this对象引用
     */
    var self = this;
    /**
     * 应用名称
     */
    this.appName = "appkyNumberSearch";
    this.param = [];
    this.searchTxt = "";
    this.searchType = "init";
    this.cityMap = new Map();

    this.initCityMap = function () {
        this.cityMap.set("200", "广州");
        this.cityMap.set("660", "汕尾");
        this.cityMap.set("662", "阳江");
        this.cityMap.set("663", "揭阳");
        this.cityMap.set("668", "茂名");
        this.cityMap.set("750", "江门");
        this.cityMap.set("751", "韶关");
        this.cityMap.set("752", "惠州");
        this.cityMap.set("753", "梅州");
        this.cityMap.set("754", "汕头");
        this.cityMap.set("755", "深圳");
        this.cityMap.set("756", "珠海");
        this.cityMap.set("757", "佛山");
        this.cityMap.set("758", "肇庆");
        this.cityMap.set("759", "湛江");
        this.cityMap.set("760", "中山");
        this.cityMap.set("762", "河源");
        this.cityMap.set("763", "清远");
        this.cityMap.set("766", "云浮");
        this.cityMap.set("768", "潮州");
        this.cityMap.set("769", "东莞");
    }


    this.createCityPlugLists = function (param) {

        var sb = "";
        var sb_ul = "";

        var entries = this.cityMap.entries();
        for (var [cityId, cityValue] of entries) {

            sb_ul = sb_ul+('<li id="paraValue_' + cityId + '">' + cityValue + '</li>');
        }

        console.log(sb_ul);
    }
}
